package hcn.protocol.brandnew.dengji.jianchayuyue;

import lombok.Data;
import javax.xml.bind.annotation.*;
import java.util.List;
import hcn.protocol.brandnew.BaseRequest;


/**
 * 预约报道-请求消息 - ODS_02070012
 *
 * @author enjoyLife
 */
@Data
@XmlRootElement(name = "MsgBody")
@XmlAccessorType(XmlAccessType.FIELD)
public class BookAppointRequest extends BaseRequest {

    /**
     * 患者信息
     */
    @XmlElement(name = "Patient")
    private Patient patient;

    @Data
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class Patient {

        /**
         * 机构代码
         */
        @XmlElement(name = "Organization")
        private String organization;
        /**
         * 患者类型
         */
        @XmlElement(name = "PatientType")
        private String patientType;
        /**
         * 查询方式1
         */
        @XmlElement(name = "QueryType1")
        private String queryType1;
        /**
         * 查询方式2
         */
        @XmlElement(name = "QueryType2")
        private String queryType2;
        /**
         * 设备ID
         */
        @XmlElement(name = "DeviceId")
        private String deviceId;
        /**
         * 设备所在院区编号
         */
        @XmlElement(name = "DeviceCode")
        private String deviceCode;
        /**
         * 报到科室ID
         */
        @XmlElement(name = "DeptId")
        private String deptId;
        /**
         * 报到科室名称
         */
        @XmlElement(name = "DeptName")
        private String deptName;
    }

}
